package com.sgcc.dlsc.monitorredis.dao;

import com.sgcc.dlsc.monitorredis.model.po.Host;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author: 李孟帅
 * @CreateTime: 2019-09-18 10:39
 * @Description: ${Description}
 */
@Mapper
public interface MonitorRedisMapper {
    void addNode(Host host);
    List<Host> selectNodes();
    void update(Host host);
    void updateSatus(String ip);

}
